package com.mingzhi.forum.utils;

import java.util.UUID;

public class UUIDUtil {

    /**
     * 生成32为UUID
     * @return
     */
    public static String UUID_32(){
        return UUID_36().replace("-","");
    }

    /**
     * 生成36为UUID
     * @return
     */
    public static String UUID_36(){
        return UUID.randomUUID().toString();
    }

}
